﻿using OpenAdmin.Core.DbContextLocators;
using OpenAdmin.Core.Models;

namespace OpenAdmin.EntityFramework.SeedDataConfigure;

public class SysRolePermissionSeedData : IEntityTypeSeedDataConfigure<SysRolePermission, ApplicationDbContextLocator>
{
    public IEnumerable<SysRolePermission> HasData(DbContext dbContext)
    {
        return SeedData.GetSysRolePermissions();
    }
}
